package com.sl.au.entity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name="sl_crm_direction")
public class Direction extends Root{

    /** 活动名称 */
    @Column(name="sActivityName")
    private String activityName;
    /** 地址 */
    @Column(name="sAddress")
    private String address;
    /** 活动日期 */
    @Column(name="dActivityDate")
    private Date activityDate;
    /**
     * user_id(创建人id)
     */
    @ManyToOne
    @JoinColumn(unique = false)
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getActivityDate() {
        return activityDate;
    }

    public void setActivityDate(Date activityDate) {
        this.activityDate = activityDate;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }
}
